package com.pcbly.web.business.workflow;

import java.util.List;

import com.pcbly.web.bean.workflow.WorkflowTransitionBean;
import com.pcbly.web.business.BaseService;

public interface WorkflowTransitionService extends
		BaseService<WorkflowTransitionBean> {
	void createWorkflowTransitionBean(WorkflowTransitionBean bean)
			throws Exception;

	void updateWorkflowTransitionBean(WorkflowTransitionBean bean)
			throws Exception;

	WorkflowTransitionBean findWorkflowTransitionBeanById(String id)
			throws Exception;

	void deleteWorkflowTransitionBean(String id) throws Exception;

	List<WorkflowTransitionBean> findWorkflowTransitionBeansByStepId(
			String templateId, String preStepId, String nextStepId)
			throws Exception;
}
